﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">

<class name="Parichay.Domain.MemberGroupmembers, Parichay.Domain" table="member_groupmembers" >

<id name="Id" column="Id" type="System.Int32" unsaved-value="null"><generator class="native"/></id>

<property name="Notifyonpending" column="NotifyOnPending" access="field.pascalcase-underscore" not-null="true" type="System.Int32"  insert="true" update="true"/>
<property name="Status" column="Status" access="field.pascalcase-underscore" not-null="false" type="System.Int32"  insert="true" update="true"/>
<property name="Notifyonjoin" column="NotifyOnJoin" access="field.pascalcase-underscore" not-null="true" type="System.Int32"  insert="true" update="true"/>
<property name="Notifyonreply" column="NotifyOnReply" access="field.pascalcase-underscore" not-null="true" type="System.Int32"  insert="true" update="true"/>
<property name="Notifyonmessage" column="NotifyOnMessage" access="field.pascalcase-underscore" not-null="true" type="System.Int32"  insert="true" update="true"/>
<property name="Role" column="Role" access="field.pascalcase-underscore" not-null="true" type="System.Int32"  insert="true" update="true"/>
<property name="Notifyonleave" column="NotifyOnLeave" access="field.pascalcase-underscore" not-null="true" type="System.Int32"  insert="true" update="true"/>
<many-to-one name="MemberDetails"  access="field.pascalcase-underscore" not-null="true" outer-join="auto" insert="true" update="true">
	<column name="UserId"/>
</many-to-one>
<many-to-one name="Group"  access="field.pascalcase-underscore" not-null="true" outer-join="auto" insert="true" update="true">
	<column name="GroupId"/>
</many-to-one>


</class>
</hibernate-mapping>
